package com.kob.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <pre>{@code
 * 记录拍卖信息
 * }</pre>
 *
 * @author Summerday
 * @date 2023/3/17
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("auction")
public class Auction {
    @TableId(type = IdType.AUTO) //实现id自增
    private Integer id;
    private String description;

    // 1市场管理员， 2RSU， 3EV
    private String admin;
    private String rsu;
    private String ev;

    private String taskId;
    private String propertyValue;

    private Date publishTime;
    private Date endTime;
}
